<?php

namespace Modules\Common\Models\Validation;


/**
 *@property int $id
 *@property string $ptype
 *@property string $v0
 *@property string $v1
 *@property string $v2
 *@property string $v3
 *@property string $v4
 *@property string $v5
 *@property string $created_at
 *@property string $updated_at
 */
trait AdminRuleValidation 
{


    public function createRules()
    {
         return [
            'rules' => [
                'ptype'=>'between:0,5',
                'v0'=>'between:0,6',
                'v1'=>'between:0,6',
                'v2'=>'between:0,6',
                'v3'=>'between:0,6',
                'v4'=>'between:0,6',
                'v5'=>'between:0,6',
                
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }

    public function updateRules()
    {
         return [
            'rules' => [
                'ptype'=>'between:0,5',
                'v0'=>'between:0,6',
                'v1'=>'between:0,6',
                'v2'=>'between:0,6',
                'v3'=>'between:0,6',
                'v4'=>'between:0,6',
                'v5'=>'between:0,6',
                
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }


}
